home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xmcd-1.4 / cda.d / visual.h < prev   
Encoding:
C/C++ Source or Header  |  1995-05-10  |  2.8 KB  |  109 lines

  1. /*
  2.  *   cda - Command-line CD Audio Player
  3.  *
  4.  *   Copyright (C) 1995  Ti Kan
  5.  *   E-mail: ti@amb.org
  6.  *
  7.  *   This program is free software; you can redistribute it and/or modify
  8.  *   it under the terms of the GNU General Public License as published by
  9.  *   the Free Software Foundation; either version 2 of the License, or
  10.  *   (at your option) any later version.
  11.  *
  12.  *   This program is distributed in the hope that it will be useful,
  13.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  *   GNU General Public License for more details.
  16.  *
  17.  *   You should have received a copy of the GNU General Public License
  18.  *   along with this program; if not, write to the Free Software
  19.  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  *
  21.  */
  22. #ifndef __VISUAL_H__
  23. #define __VISUAL_H__
  24.  
  25. #ifndef NOVISUAL
  26.  
  27. #ifndef LINT
  28. static char *_visual_h_ident_ = "@(#)visual.h    5.5 95/01/30";
  29. #endif
  30.  
  31.  
  32. #ifndef ACS_HLINE
  33. #define ACS_HLINE    '-'
  34. #endif
  35.  
  36.  
  37. /*
  38.  * Constant definitions
  39.  */
  40.  
  41. #define ON_X        2
  42. #define ON_Y        4
  43. #define OFF_X        5
  44. #define OFF_Y        4
  45. #define LOAD_X        13
  46. #define LOAD_Y        4
  47. #define EJECT_X        13
  48. #define EJECT_Y        5
  49. #define PLAY_X        23
  50. #define PLAY_Y        4
  51. #define PAUSE_X        23
  52. #define PAUSE_Y        5
  53. #define STOP_X        33
  54. #define STOP_Y        4
  55. #define LOCK_X        43
  56. #define LOCK_Y        4
  57. #define UNLOCK_X    42
  58. #define UNLOCK_Y    5
  59. #define SHUFFLE_X    52
  60. #define SHUFFLE_Y    4
  61. #define PROGRAM_X    52
  62. #define PROGRAM_Y    5
  63. #define REPEAT_ON_X    62
  64. #define REPEAT_ON_Y    5
  65. #define REPEAT_OFF_X    65
  66. #define REPEAT_OFF_Y    5
  67.  
  68.  
  69. #define HELP_INFO "\
  70.                       CDA - Command Line CD Audio Player\n\
  71. \n\
  72. F1 (o)  On/Off                Cursor left/right (C/c) Prev/Next track\n\
  73. F2 (j)  Load/Eject            < / >                   Prev/Next index\n\
  74. F3 (p)  Play/Pause            Cursor up/down (^/v)    Scroll screen\n\
  75. F4 (s)  Stop                  + / -                   Volume up/down\n\
  76. F5 (k)  Lock/Unlock           l/r                     Balance ->left / ->right\n\
  77. F6 (u)  Shuffle/Program       Tab                     Stereo/Mono\n\
  78. F7 (e)  Repeat On/Off         n [mins secs]           Track n [at mins/secs]\n\
  79. F8 (q)  Quit                  ^L or ^R                Refresh screen\n\
  80. \n\
  81.                               ?        Help\n\
  82. \n\
  83. (Alternatives to function and cursor control keys given in parenthesis)\n\
  84. \n\
  85.                  Press space to return to info screen."
  86.  
  87.  
  88. #define HELP_SCROLL_LENGTH    16
  89.  
  90. #define STATUS_LINE0 "\
  91.    F1(o)     F2(j)     F3(p)     F4(s)     F5(k)     F6(u)     F7(e)     F8(q)"
  92.  
  93. #define STATUS_LINE1 "\
  94.   On/Off     Load/     Play/     Stop      Lock/    Shuffle/  Repeat     Quit"
  95.  
  96. #define STATUS_LINE2 "\
  97.              Eject     Pause              Unlock    Program   On/Off"
  98.  
  99.  
  100. /* Public function prototypes */
  101. extern void    cda_vtidy(void);
  102. extern void    cda_visual(void);
  103.  
  104.  
  105. #endif    /* NOVISUAL */
  106.  
  107. #endif    /* __VISUAL_H__ */
  108.  
  109.